package hr.mapper;

import hr.service.SysService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SysMapper {

    List<Map<String, Object>> selectGender();
    List<Map<String, Object>> getSysMarriage();

    List<Map<String, Object>> getSysNation();

    List<Map<String, Object>> getSysLeaveStatus();

    List<Map<String, Object>> getSysLeaveType();

    String selectGenderStr(@Param("sexId") Integer sex);

    String selectMarriageStr(@Param("id") Integer maritalStatus);

    String selectNationStr(@Param("id")Long nation);

    List<Map<String, Object>> getSysDepState();
}
